package com.lagou.sale.pojo;

import java.util.Date;

public class Order {
    private long orderId;
    private int itemNum;
    private Date createTime;
    private int isPaid; // 0: 未支付 1：已支付 2：已废弃

    public int isPaid() {
        return isPaid;
    }

    public void setPaid(int paid) {
        isPaid = paid;
    }

    public long getOrderId() {
        return orderId;
    }

    public void setOrderId(long orderId) {
        this.orderId = orderId;
    }

    public int getItemNum() {
        return itemNum;
    }

    public void setItemNum(int itemNum) {
        this.itemNum = itemNum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
